package com.diabeco.model.measures;

import java.util.Date;

import android.text.format.DateFormat;

public class FoodIntakeMeasure {
	private Long id;
	private Long date;
	private String value;

	public FoodIntakeMeasure() {
		this.setDate(new Date().getTime());
		this.setValue("NO ESTABLECIDO");
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDate() {
		return date;
	}

	public void setDate(Long date) {
		this.date = date;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String toString() {
		return DateFormat.format("dd/MMM hh:mm", this.getDate()) + ": " + this.getValue();
	}
}
